home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-12-16 | 1.2 KB | 44 lines | [TEXT/CWIE] |
- // =================================================================================
- //
- // CHLinkControl.h ©1996 Microsoft Corporation All rights reserved.
- //
- // =================================================================================
-
- #ifndef _H_CHLinkControl
- #define _H_CHLinkControl
- #pragma once
-
- #include "CBaseControl.h"
-
- class CHLinkControl : public CBaseControl
- {
-
- public:
- // *** CHLinkControl methods ***
- CHLinkControl(void);
- ~CHLinkControl(void);
-
- // *** IObjectWithSite methods ***
- STDMETHOD (SetSite)(THIS_ IUnknown* inUnkSite);
-
- // *** IControl methods ***
- STDMETHOD (Draw) (THIS_ DrawContext* inContext);
- STDMETHOD (GetID)(THIS_ Int32 inBufferSize, Char8* outID);
- STDMETHOD (DoMouse)(THIS_ MouseEventType inMouseET, PlatformEvent* inEvent);
- STDMETHOD (Load)(IPropertyBag* PropertyBag, IErrorLog* ErrorLog);
- STDMETHOD (LoadTextState)(IPropertyBag *PropertyBag, IErrorLog* ErrorLog);
-
- private:
- // private methods
- Boolean ButtonEnabled(void);
-
- // private members
- Char8* mIDP;
- IHLinkBasic* mHLinkP;
- Uchar8 mTargetURL[MAX_URL_STRING];
- HLinkNavigate mLinkType;
- CursHandle mFingerCursor;
- };
-
- #endif
-